package com.yc.wxcontroller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @program: science_merit
 * @description: 前端页面分发
 * @author: 作者 huchaojie
 * @create: 2023-04-04 16:21
 */
@Controller
public class HtmlController {

    /**
     * 登录界面
     * @return
     */
    @RequestMapping("jk")
    public ModelAndView redirect(){
        return new ModelAndView("redirect:http://172.30.30.10:81/jkykq");
    }

    //@RequestMapping(value = "/")
    public String login() { return "login"; }


    //@RequestMapping(value = "/login")
    public String index() { return "login"; }
}
